from pynput import keyboard
import clipboard
def listen_keyboard():
    COMBINATIONS=[
        {keyboard.Key.ctrl_l,keyboard.Key.shift,keyboard.KeyCode(char='r')}
    ]

    current_keys=set()

    def on_press(key):
        if any([key in COMBO for COMBO in COMBINATIONS]):
            current_keys.add(key)
            if any(all(k in current_keys for k in COMBO) for COMBO in COMBINATIONS):
                print("CTRL+SHIFT+R...")
                clipboard.keyoperation()
                current_keys.clear()

    with keyboard.Listener(on_press=on_press) as listener:
        listener.join()

if __name__ == "__main__" :
    print("press:CTRL+SHIFT+R...")
    listen_keyboard()